package com.xxh.blog.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxh.blog.entity.Category;
import org.springframework.stereotype.Component;

@Component("CategoryDao")
public interface CategoryDao  extends BaseMapper<Category> {

    int deleteByPrimaryKey(Long id);

    int insert(Category record);

    int insertSelective(Category record);

    Category selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Category record);

    int updateByPrimaryKey(Category record);
}